package com.neu.smty.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.neu.smty.mapper.PhysicalExamProjectMapper;
import com.neu.smty.domain.PhysicalExamProject;
import com.neu.smty.service.IPhysicalExamProjectService;

/**
 * 项目管理1Service业务层处理
 * 
 * @author liningning
 * @date 2025-10-10
 */
@Service
public class PhysicalExamProjectServiceImpl implements IPhysicalExamProjectService 
{
    @Autowired
    private PhysicalExamProjectMapper physicalExamProjectMapper;

    /**
     * 查询项目管理1
     * 
     * @param projectId 项目管理1ID
     * @return 项目管理1
     */
    @Override
    public PhysicalExamProject selectPhysicalExamProjectById(Long projectId)
    {
        return physicalExamProjectMapper.selectPhysicalExamProjectById(projectId);
    }

    /**
     * 查询项目管理1列表
     * 
     * @param physicalExamProject 项目管理1
     * @return 项目管理1
     */
    @Override
    public List<PhysicalExamProject> selectPhysicalExamProjectList(PhysicalExamProject physicalExamProject)
    {
        return physicalExamProjectMapper.selectPhysicalExamProjectList(physicalExamProject);
    }

    /**
     * 新增项目管理1
     * 
     * @param physicalExamProject 项目管理1
     * @return 结果
     */
    @Override
    public int insertPhysicalExamProject(PhysicalExamProject physicalExamProject)
    {
        return physicalExamProjectMapper.insertPhysicalExamProject(physicalExamProject);
    }

    /**
     * 修改项目管理1
     * 
     * @param physicalExamProject 项目管理1
     * @return 结果
     */
    @Override
    public int updatePhysicalExamProject(PhysicalExamProject physicalExamProject)
    {
        return physicalExamProjectMapper.updatePhysicalExamProject(physicalExamProject);
    }

    /**
     * 批量删除项目管理1
     * 
     * @param projectIds 需要删除的项目管理1ID
     * @return 结果
     */
    @Override
    public int deletePhysicalExamProjectByIds(Long[] projectIds)
    {
        return physicalExamProjectMapper.deletePhysicalExamProjectByIds(projectIds);
    }

    /**
     * 删除项目管理1信息
     * 
     * @param projectId 项目管理1ID
     * @return 结果
     */
    @Override
    public int deletePhysicalExamProjectById(Long projectId)
    {
        return physicalExamProjectMapper.deletePhysicalExamProjectById(projectId);
    }
}
